import request from '@/utils/request'

// 钻孔管列表
export function drillList(data) {
	return request({
		url: 'api/resourcecnter/drill_hole_list',
		method: 'post',
		data
	})
}
// 钻孔管理 审批人
export const approval = data => {
	return request({
		url: 'api/drill/approval',
		method: 'post',
		data
	})
}


// 钻孔管理 删除
export const delDrill = data => {
	return request({
		url: 'api/drill/del_drill',
		method: 'post',
		data
	})
}

// 钻孔管理 详情
export const drillDetails = data => {
	return request({
		url: 'api/resourcecnter/drill_details',
		method: 'post',
		data
	})
}


// 钻孔管理 详情
export const addDrills = data => {
	return request({
		url: 'api/drill/add_drill',
		method: 'post',
		data
	})
}

// 钻孔管理 图片
export const upload = data => {
	return request({
		url: 'api/upload/upload',
		method: 'post',
		data
	})
}



// 钻孔管理
export const vagueSearch = data => {
	return request({
		url: 'api/resourcecnter/vague_search',
		method: 'post',
		data
	})
}


// 钻孔管理-保管信息单位
export const safekeepingUnit = data => {
	return request({
		url: 'api/resourcecnter/safekeeping_unit',
		method: 'post',
		data
	})
}

// 地质城市 == 新增
export const addInformationFiles = data => {
	return request({
		url: 'api/drill/add_information_files',
		method: 'post',
		data
	})
}

// 地学产品和图鉴 == 新增
export const addGeosciences = data => {
	return request({
		url: 'api/drill/add_geosciences',
		method: 'post',
		data
	})
}

// 图鉴 == 新增
export const addIiiustratedBooks = data => {
	return request({
		url: 'api/Drill/add_iiiustrated_books',
		method: 'post',
		data
	})
}
